package com.yonyou.cyxdms.sysAuth.service.service.manage.company;

import com.yonyou.cyx.framework.service.base.ICommonService;
import com.yonyou.cyxdms.sysAuth.service.dto.CompanyDTO;
import com.yonyou.cyxdms.sysAuth.service.entity.CompanyPO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface CompanyService extends ICommonService<CompanyDTO, CompanyPO,Integer> {



    CompanyDTO detail(Integer companyId);

    List<CompanyDTO> getListByParam(Map<String, Object> params);

    void getListForExport(CompanyDTO companyDTO, HttpServletRequest request, HttpServletResponse response);

    Map<String,String>  getMainDataSync(List<Map> companyMap);

    CompanyDTO selectCode(String companyCode );

    CompanyDTO selectName(String companyName , String companyCode);
}
